#include  <stdio.h>
unsigned int  MyStrlen(char str[]);
int main()
{
    char a[80];
    unsigned int len;
    gets(a);
    len=MyStrlen(a);
    printf("%u\n", len);
    return 0;
}

unsigned int  MyStrlen(char str[])
{
    int i = 0;
    char *p = str;
    while(*(p + i))
    {
        i++;
    }

    return i;
}
